import platgo as pg

problem = pg.problems.Ackley(30)

N = 200
# population = pg.Population(N, '111')  # 实例化种群，在算法模板里会初始化

maxgen = 1000
Algorithm = pg.algorithms.DE(maxgen=maxgen, problem=problem)

pop = Algorithm.go(N)

print(pop)


